//某些隐藏功能函数
document.querySelector("#btn_show").onclick = function () {
    showTableList();
}

function showTableList() {
    let tableList = getItem("tableList");
    let content = "当前时间戳: " + getTimestamp() + "<br>";
    content += "当前JSON:<br>"; 
    if (tableList != null && tableList != {}) {
        for (let name in tableList) {
            content += name + ": " + tableList[name] + "<br>";
        }
    }
    
    layui.use("layer", function(){
        var layer = layui.layer;
        layer.alert(content, {title: "JSON"});
    });
}

